const resolve = dir => require('path').join(__dirname, dir)

module.exports = {
  resolve: {
    alias: {
      '@': resolve('src'),
      _views: resolve('@/views'),
      _component: resolve('@/components'),
      _utils: resolve('@/utils'),
      _style: resolve('@/assets/style'),
      _images: resolve('@/assets/images'),
      _iconfont: resolve('@/assets/iconfont')
    }
  }
};
